home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 45
/
Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso
/
Aminet
/
game
/
role
/
ldmud-3.2-bin.lha
/
mud
/
doc
/
LPC
/
ed6
< prev
next >
Wrap
Text File
|
2001-04-06
|
1KB
|
33 lines
NAME
ed6
DESCRIPTION
This is the list of extended ed commands that Xio unearthed
somewhere, thanks!
a) never use 1,$p to print out an editfile, because you will
be thrown out 'cause of too much text transfereed to you.
b) $: jump to end of file.
c) ?anything? and ?? : search from bottom to up. (like '/'
from beginning to end of file. (also with substitutions,
try out..)
d) ( g/xxx/p search global xxx and print corresponding lines,
/xxx/s/new/old/p : search xxx, substitute new to old in this
line and print out. (try this concatenations with other
commands)
e) 1,nmx ( see ed5 ) , but also: 1,ntx : don't move the lines,
but make a copy of them.
f) x,y w name : save lines x to y to file name (if you don't
know the line numbers : '=' current line number)
g) s/$/text/p : append text to the end of current LINE and
print line
h) s/^/text/p : insert text at beginning og current LINE and
print line